# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreimage
pkgver=3.0.1
pkgrel=0
pkgdesc="An image viewer from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coreimage/-/archive/v$pkgver/coreimage-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="85743d091f4a0f9abd53528f4807a3d216b2a73c5a174793ccd273ddfb4104366fa4485ba46055c2f93e81799ffa1e309d66799c43560df3be8903a5e8118c29  coreimage-3.0.1.tar.gz"
